<?php

/**
 * Description of LanguageWidget
 *
 * @author HEO
 */
class LanguageWidget extends CWidget {

    public function run() {
        Yii::import('application.modules.admin.models.Language');
        
        $languages = Language::model()->findAll();

        $this->render('LanguageWidget', array('languages' => $languages));
    }

}
